package day6;

import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class Demo01 {
    //阻塞式IO
    public static void main(String[] args) throws Exception{
        FileOutputStream opt = new FileOutputStream("F:\\123.txt",true);
        opt.close();
        FileInputStream  fin=new FileInputStream("F:\\123.txt");

        //        Scanner sc = new Scanner(System.in);
//        System.out.print("请输入字符串：");
//        String s = sc.next();
//        opt.write(s.getBytes());
//        opt.write('\n');
//
//        opt.close();
    }
}
